import { Request } from "../until/Request";
//部门列表
function getDepartmentList(url,data){
    return Request.get(url,data)
}
//添加部门
function addDepartment(url,data){
    return Request.post(url,data)
}
//根据部门 Id 查询部门信息
function getDepartmentNews(url,data){
    return Request.post(url,data)
}
//修改部门
function modifyDepartment(url,data){
    return Request.post(url,data)
}
export {getDepartmentList,addDepartment,getDepartmentNews,modifyDepartment}